using System;
using System.Collections.Generic;
using System.Text;
using Palsta.Core;
using System.IO;

namespace SmokeTesting
{
    class Program
    {
        static void Main(string[] args)
        {
            ViewParser view = new ViewParser("..\\..\\TestFiles\\view1.xsl");
            DataParser data = new DataParser();
            data.Load("..\\..\\TestFiles\\myschema.xsd");
            if (view.Initialize())
            {
                view.WriteToJS("..\\..\\TestFiles\\");
                view.WriteToHTML("..\\..\\TestFiles\\");
            }
            Console.WriteLine("Completed!");
            Console.Read();
        }
    }
}
